package com.sy.dao;

import java.util.List;
/**
 * 基础dao
 * @author sunyang
 *
 * @param <T>
 * @param <Y>
 */
public interface BasicDao <T,Y>{
	public void save(T x);
	public void del(T x);
	public void delbyId(Y y);
	public List<T> queryAll();
	public T queryById(Y y);
	public void update(T x);
}
